Command/ startxtable
Command/ stoplinenote
Command/ style
Command/ synonym
Command/ textbackground
Command/ textnote
Command/ tooltip
Command/ type
Command/ typebuffer
Command/ unit
___
If your question is of interest to ot
; https://meeting.contextgarden.net/2022/talks/ramkumar/ramkumar-talk.pdf
>
>
>
> This supports ConTeXt markup and for any Lua code (within \startluacode &
> \stopluacode) it re-directs to the Lua Language Server (from Sumneko -
> https://github.com/sumneko/lua-language-server
d for any Lua code (within
> > \startluacode & \stopluacode) it re-directs to the Lua Language Server
> > (from Sumneko - https://github.com/sumneko/lua-language-server
> > <https://github.com/sumneko/lua-language-server> )
> >
> > To Do -
> >
artluacode &
\stopluacode) it re-directs to the Lua Language Server (from Sumneko -
https://github.com/sumneko/lua-language-server )
To Do -
1. Make the source code open-source
2. Add new features (like Hover & Tooltip)
3. Work with Taco to add MetaPost Language Server (this co
r any Lua code (within
\startluacode & \stopluacode) it re-directs to the Lua Language Server
(from Sumneko - https://github.com/sumneko/lua-language-server
<https://github.com/sumneko/lua-language-server> )
To Do -
1. Make the source code open-source
2. Add new features (like Hov
2. Add new features (like Hover & Tooltip)
3. Work with Taco to add MetaPost Language Server (this could be
challenging and interesting)
Do give this a try and give your feedback. Note that this does not contain
*all* the macros but covers the vast majority of the ConTeXt commands.
ure[#1][#2]{
>> \ifsecondargument
>> \dorecurse{#1}{%
>> \tooltip{\clip[
>> height=\textheight,
>> voffset=\dimexpr((\recurselevel - 1)\textheight),]{%
>
> voffset=\numexpr(\recurselevel -1)\textheight]{%
Aha, numexpr. Danke!
Am 2017-09-10 um 10:09
Am 10.09.2017 um 09:13 schrieb Henning Hraban Ramm:
My current code actually looks like
% split in #1 page size parts
\def\clipfigure{\dodoubleempty\doClipFigure}
\def\doClipFigure[#1][#2]{
\ifsecondargument
\dorecurse{#1}{%
\tooltip{\clip[
height=\textheight,
voffset=\dimexpr
easure (pt inserted)".
My current code actually looks like
% split in #1 page size parts
\def\clipfigure{\dodoubleempty\doClipFigure}
\def\doClipFigure[#1][#2]{
\ifsecondargument
\dorecurse{#1}{%
\tooltip{\clip[
height=\textheight,
voffset=\dimexpr((\recurselevel - 1)\textheight),]{%
; What I mean something, that shows in the Text the text from the
> > footnote, when I click on the number from the footnote.
> >
> >
> > Maybe with a tooltip? Or what is the right way? Which command?
>
> tooltips are widgets and not part of the document text stream
a question to this discussion, it is nessesary to know: How can
footnotes be shown in the PDF/A tagged PDF, in a text?
What I mean something, that shows in the Text the text from the footnote,
when I click on the number from the footnote.
Maybe with a tooltip? Or what is the right way? Which command
with a tooltip? Or what is the right way? Which command?
tooltips are widgets and not part of the document text stream .. so i
think they don't count as accessibility feature (but i might be wrong)
maybe someone else on the list knows
i wonder, as you use tex you can consider generating an additional
t; can footnotes be shown in the PDF/A tagged PDF, in a text?
> >
> > What I mean something, that shows in the Text the text from the
> > footnote, when I click on the number from the footnote.
> >
> >
> > Maybe with a tooltip? Or what is the right way? Which command?
Hello Wolfgang or Hans?
Can one of you help me please. Iwant something like this:
\setuppapersize[S6][S6]
\setupinteraction[state=start]
\setupcolors[state=start]
\starttext
Here is an example: by saying
\type{\tooltip[left]{Example}{Is it nice}}, we get
\blank
\midaligned
Hello all
Once again I return to this issue. Lukas confirmed me that really links
do not work. Where is error when links into items in the itemize list
are not working. Links are active but not working...
It is interesting that the chapter on the links when hovering tooltip
will appear
when hovering tooltip
will appear with the page number where the link leads, not the case for
the line item.
Here is Lukas example (my example is bottom )
\setupinteraction[state=start]
\starttext
Go to \in[sec:1] -- \about[sec:1] or \in[it:a] -- \about[it:a].
\page
\section[sec:1]{Sec
to this issue. Lukas confirmed me that really links
do not work. Where is error when links into items in the itemize list
are not working. Links are active but not working...
It is interesting that the chapter on the links when hovering tooltip
will appear with the page number where the link leads
Hello
how to change the tooltipps from english First page to
german Erste Seite?
\setupinteraction[state=start]
\starttext
\button {\scale[height=2em] {\symbol[navigation
1][nextpage]}} [NextPage]
\page
\button {\scale[height=2em] {\symbol[navigation
1][previouspage]}} [PreviousPage]
Am 18.03.2012 um 19:08 schrieb Jan Heinen:
Hello
how to change the tooltipps from english First page to german Erste
Seite?
\setupinteraction[state=start]
\starttext
\button {\scale[height=2em] {\symbol[navigation 1][nextpage]}} [NextPage]
\page
\button {\scale[height=2em]
On 24-8-2011 16:39, Peter Rolf wrote:
Hi,
I use '\setupfields[reset]%' in a tooltip macro and this single line
breaks compilation.
[..]
Runaway argument?
]\stoptext
! File ended while scanning use of \scrn_field_setup_fields.
inserted text
\par
* ./tooltip
Hi,
I use '\setupfields[reset]%' in a tooltip macro and this single line
breaks compilation.
[..]
Runaway argument?
]\stoptext
! File ended while scanning use of \scrn_field_setup_fields.
inserted text
\par
* ./tooltip
\stoptext
?
! Emergency stop.
inserted text
I'm playing with some lua markdown parser[1], already added ConTeXt
output support except for two minor features.
HTML links and images can have a title attribute that shows like a
tooltip, but I don't seem to find a way to do similar trick in ConTeXt,
any ideas? \tooltip seems to be the closest
a
tooltip, but I don't seem to find a way to do similar trick in ConTeXt,
any ideas? \tooltip seems to be the closest but it requires JS which
means AR only, also seems one have to click for the tooltip ti show
which is not exactly the same behaviour.
Regards,
Khaled
--
Khaled Hosny
=start]
\definelayer[foo][width=300pt,height=300pt]
\setlayerframed[foo][width=300pt,height=300pt]{foo}
\starttext
\startbuffer[test]
\framed[offset=overlay]{\tooltip{\CONTEXT}{a \TEX\ macropackage}}
\stopbuffer
\setlayerframed[foo][x=0pt,y=0pt][offset=overlay]{\getbuffer[test]} % big skip
On 28-1-2011 4:20, Peter Rolf wrote:
Hi Hans,
I have overseen an unwanted horizontal skip in my menu test graphic. Mh,
donno what this is... it's no skip nor a simple spurious space (as I use
\removeunwantedspaces in front of that macro).
A minimal example is attached. No urgent case...
if
Am 28.01.2011 um 18:58 schrieb Hans Hagen:
On 28-1-2011 4:20, Peter Rolf wrote:
Hi Hans,
I have overseen an unwanted horizontal skip in my menu test graphic. Mh,
donno what this is... it's no skip nor a simple spurious space (as I use
\removeunwantedspaces in front of that macro).
A
Am 28.01.2011 20:02, schrieb Wolfgang Schuster:
Am 28.01.2011 um 18:58 schrieb Hans Hagen:
On 28-1-2011 4:20, Peter Rolf wrote:
Hi Hans,
I have overseen an unwanted horizontal skip in my menu test graphic. Mh,
donno what this is... it's no skip nor a simple spurious space (as I use
On 28-1-2011 8:02, Wolfgang Schuster wrote:
context.startnointerference()
ok, patched
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The
\edef
\currentfieldname {#...
to be read again
}
\dotooltip ...fitfield [\currentsystemfield :txt]}
}\dimen 0=\ifdim \wd
0=\ze...
l.5 \tooltip{\CONTEXT}{a \TEX\ macropackage}
?
mkii works, but I get black text on black
more acrobat and initialization and so ... some of these things change
per version; which version of acrobat? test file?
I have Adobe Reader 9.3.2, which I think is the latest. The following test:
\starttext
\dorecurse{1000}{\tooltip[middle]{test}{test}}
\stoptext
produces a pdf which opens
more acrobat and initialization and so ... some of these things change
per version; which version of acrobat? test file?
I have Adobe Reader 9.3.2, which I think is the latest. The following test:
\starttext
\dorecurse{1000}{\tooltip[middle]{test}{test}}
\stoptext
produces a pdf which opens
Michael Saunders wrote:
more acrobat and initialization and so ... some of these things change
per version; which version of acrobat? test file?
I have Adobe Reader 9.3.2, which I think is the latest. The following test:
\starttext
\dorecurse{1000}{\tooltip[middle]{test}{test}}
\stoptext
synoniem mechanisme op die manier uit te breiden met een tooltip.
Er zijn inmiddels verschillende suggesties gedaan en ik ga daar niets
aan toevoegen. Het is niet mijn probleem als een gebruiker gebrek heeft
aan fantasie danwel suggesties niet gebruikt cq. zijn mails zodanig
formuleert dat er
mechanismes te combineren. Veel mechanismes
hebben een 'command hook' en het is niet zo lastig om bijvoorbeeld het
synoniem mechanisme op die manier uit te breiden met een tooltip.
Because every user, however, what differently wants, it is impossible
everything build in without it degenerated
for tooltips
\definesynonyms[gentry][gentries][\infull][\inshort]%to connect
headwords to entries
\def\gdef#1#2#3{\gloss{#1}{#2}\gentry{#1}{#3}}
\def\hint#1{\tooltip[middle]{#1}{\infull{#1}}}
%then you have a file of definitions like this one:
\gdef{vibrato}{a periodic fluctuation in pitch
headwords to entries
\definesynonyms[gloss][glosses][\tttext][\ttkey]
%to make short glosses available for tooltips
\def\gldef#1#2#3{\gloss{#1}{#2}\gentry{#1}{#3 {(p.\at[g:#1])}}}
\def\hint#1{\tooltip[middle]{#1}{\tttext{#1}}}
\def\glref#1{\reference[g:#1]{}}
%to place at a substantive reference
the lua script for this, but
I don't know what it is.
No advantage other than time saving …
About tooltips:
\tooltip surprised me, and I was impressed that it appears to typeset
the tooltip text with Context, but there are some problems with it:
1. It's stretched horizontally.
2. The active area
strange word. When you hover over it with the
cursor, a tooltip would appear saying short definition. It would be
great if this were linked to a glossary mechanism so I wouldn't have
to keep writing the short definition---I could say something like:
\gloss{strange word}
and its short definition
for glossaries
in Context, there is no mechanism to build this into, but I'm still
interested in doing it. The idea is, I could write something like:
\gloss{strange word}{short definition}
The text would read strange word. When you hover over it with the
cursor, a tooltip would appear saying short
[Gloss][Glosses][\infull][\inshort]
\Gloss{cooltip}{HEI! This is a longer text in a tooltip}
\def\Hint#1{\tooltip[middle]{#1}{\infull{#1}}}
\starttext
This is a text. This sentence contains a \tooltip[middle]{cooltip}{HEI! This is
a longer text in a tooltip}
\blank
This is a text. This sentence
, there is no mechanism to build this into, but I'm still
interested in doing it. The idea is, I could write something like:
\gloss{strange word}{short definition}
The text would read strange word. When you hover over it with the
cursor, a tooltip would appear saying short definition
some random Asymptote file of mine. Though
I find it pretty much ok, I may change that also in the future.
Let's focus on the tooltip and external database issue you
encountered, instead of discuss that document and my bad writing :-).
--
There is no emotion; there is peace
to entries
\def\gdef#1#2#3{\gloss{#1}{#2}\gentry{#1}{#3}}
\def\hint#1{\tooltip[middle]{#1}{\infull{#1}}}
%then you have a file of definitions like this one:
\gdef{vibrato}{a periodic fluctuation in pitch}{A periodic fluctuation
of pitch, typically in the range 6--12~Hz.}
%within the text, where
]
\starttext
A simple \tooltip{tooltip}{tooltip}.
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg
={layer_A},state=start]
\starttext
\startproperty[layerA]
text
%\framed[width=160mm,height=120mm]{\tooltip{A text with...{a tooltip}}%
\stopproperty
\stoptext
Peter
___
If your question is of interest to others
Hi,
some problems with js interaction stuff. I get
! Undefined control sequence.
\dopresetfieldsymbol #1-\checkobjectreferences
for nearly all interaction fields in mkiv. Mkii compiles, but the pop-up
tooltip is only a black box (not the text 'tooltip').
I also had some problems with PDF
Peter Rolf wrote:
Hi,
some problems with js interaction stuff. I get
! Undefined control sequence.
\dopresetfieldsymbol #1-\checkobjectreferences
for nearly all interaction fields in mkiv. Mkii compiles, but the pop-up
tooltip is only a black box (not the text 'tooltip').
I also had some
Can I get the .tex file? I am not expert in Latex and not understanding what
exactly is the solution. Where is \doPDFinsertcomment defined?
-Suman
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may
}
\tab{text} text
# \tbox
\tex{text}
\textreference[reference]{text}
\textrule[top|bottom]{text}
\textvariable[name]
\thinrule
\thinrules[settings]
# \tightlayer
\title[references]{text}
# \to
\tooltip[left|right|middle]{text}{text}
\translate[name=text]
\typ{text}
\type{text}
\typebuffer[name
Thanks Hans,
It works. But only the /Contents part was converted correctly, the /T part
is still not so good. So I redefined your \doPDFinsertcomment macro and
changed the third line from
\doifelsenothing{#1}
{\let\PDFidentifier\empty}
{\def\PDFidentifier{/T
Zhichu Chen wrote:
Hi
I've been looking at some core codes and the PDF reference, still have no
idea.
Somehow, I was told that LaTeX can do such things using hyperref
package
and \pdfstringdef\temp{???}, then \pdfannot{... /Contents(\temp) ...}
should
be OK.
can you try
Zhichu Chen wrote:
Thanks Hans,
It works. But only the /Contents part was converted correctly, the /T
part
is still not so good. So I redefined your \doPDFinsertcomment macro and
changed the third line from
\doifelsenothing{#1}
{\let\PDFidentifier\empty}
Hi, Hans
It may be useless, but I really hope I can pass some options to the comment.
e.g., use \comment[color=blue][title]{some contents} will make some
contents blue. So I think we can use /RC instead of /Contents.
On 4/17/07, Hans Hagen [EMAIL PROTECTED] wrote:
Zhichu Chen wrote:
Thanks
turned
to \tooltip, and this time it showed nothing.
Can anybody help me?
--
Sincerely yours,
Chen
Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
turned
to \tooltip, and this time it showed nothing.
Can anybody help me?
--
Sincerely yours,
Chen
Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
]
[s=1,a=1,t=.9]
There is another problem with field activation (not in this example).
When the doc opens, the fields (region in/out) are kind of inactive.
Normally a tooltip note is shown/hidden, if the area is entered/left.
Only after activating the fields by pressing R and H in Acrobat
[notebackgroundcolor]
% [s=.85]
[s=1,a=1,t=.9]
There is another problem with field activation (not in this example).
When the doc opens, the fields (region in/out) are kind of inactive.
Normally a tooltip note is shown/hidden, if the area is entered/left.
Only after activating the fields by pressing R
]
There is another problem with field activation (not in this example).
When the doc opens, the fields (region in/out) are kind of inactive.
Normally a tooltip note is shown/hidden, if the area is entered/left.
Only after activating the fields by pressing R and H in Acrobat,
they become alive. After
New year, old problem...
Hi all,
I want to use widgets (tooltip, buttons,..) in some stacked pdf layers.
My problem is, that the widgets are somehow not bound to the state of
their layer. They are still active, even if the surrounding layer is
deactivated.
I add a mimimal example (it's best
Hi all,
I want to use widgets (tooltip, buttons,..) in some stacked pdf layers.
My problem is, that the widgets are somehow not bound to the state of
their layer. They are still active, even if the surrounding layer is
deactivated.
I add a mimimal example (it's best to open the 'Layers' tab
60 matches
Mail list logo